cmake_minimum_required(VERSION 3.10)

project(task-1-armor)

find_package(OpenCV REQUIRED)

add_library(armorDetect SHARED src/armorDetect.cpp)

target_include_directories(armorDetect PUBLIC include)

target_include_directories(armorDetect PUBLIC ${OpenCV_INCLUDE_DIRS})

target_link_libraries(armorDetect ${OpenCV_LIBS})

add_executable(test main.cpp)

target_link_libraries(test armorDetect)